﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;

namespace TS2015.Models
{
    [Table("TbLogService")]
    public class TbLogService
    {
        [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long LogID { get; set; }
        [StringLength(100)]
        public string service { get; set; }
        [StringLength(100)]
        public string msisdn { get; set; }
        [StringLength(100)]
        public string username { get; set; }
        [StringLength(100)]
        public string password { get; set; }
        [StringLength(100)]
        public string serviceid { get; set; }
         [DisplayFormat(DataFormatString = "{0:dd/MM/dd/yyyy HH:mm:ss}", ApplyFormatInEditMode = true)]   
        public DateTime chargetime { get; set; }
        [StringLength(100)]
        public string parameters { get; set; }
        [StringLength(100)]
        public string mode { get; set; }
        [StringLength(100)]
        public string amount { get; set; }
        [StringLength(100)]
        public string command { get; set; }
        [StringLength(100)]
        public string result { get; set; } 
       
    }
}